package com.twu.biblioteca;

import java.util.ArrayList;

/**
 * Created by theyes on 17/01/2014.
 */
public abstract class MockDataBase {

    public ArrayList<LibraryItem> itemList;

    public MockDataBase()
    {
        itemList = new ArrayList<LibraryItem>();

    }

    public ArrayList<LibraryItem> getAllItems() {

        return itemList;
    }

    public boolean attemptToCheckOutBook(int userChoice)
    {
        return itemList.get(userChoice).checkOut();
    }
}
